home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmGetPostedFromWidget.z / XmGetPostedFromWidget
Encoding:
Text File  |  2003-11-18  |  2.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmGGGGeeeettttPPPPoooosssstttteeeeddddFFFFrrrroooommmmWWWWiiiiddddggggeeeetttt((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmGGGGeeeettttPPPPoooosssstttteeeeddddFFFFrrrroooommmmWWWWiiiiddddggggeeeetttt((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_G_e_t_P_o_s_t_e_d_F_r_o_m_W_i_d_g_e_t    - A RowColumn function that returns
  10.       the widget from which    a menu was posted
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       #include <Xm/RowColumn.h>
  14.  
  15.       Widget XmGetPostedFromWidget (mmmmeeeennnnuuuu)
  16.            _W_i_d_g_e_t     mmmmeeeennnnuuuu;
  17.  
  18.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  19.       _X_m_G_e_t_P_o_s_t_e_d_F_r_o_m_W_i_d_g_e_t    returns    the widget from    which a    menu
  20.       was posted.  For torn-off menus, this    function returns the
  21.       widget from which the    menu was originally torn.  An
  22.       application can use this routine during the activate
  23.       callback to determine    the context in which the menu callback
  24.       should be interpreted.
  25.  
  26.       mmmmeeeennnnuuuu Specifies the widget ID of the menu
  27.  
  28.       For a    complete definition of RowColumn and its associated
  29.       resources, see _X_m_R_o_w_C_o_l_u_m_n(_3_X).
  30.  
  31.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  32.       Returns the widget ID    of the widget from which the menu was
  33.       posted.  If the menu is a Popup Menu,    the returned widget is
  34.       the widget from which    the menu was popped up.     If the    menu
  35.       is a Pulldown    Menu, the returned widget is the MenuBar or
  36.       OptionMenu from which    the widget was pulled down.
  37.  
  38.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  39.       _X_m_R_o_w_C_o_l_u_m_n(_3_X).
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.